#当前时间在总NeedTick的0.5时即可上升
execute store result score #NeedTick0.5 temp on passengers run data get entity @s data.Output.NeedTick 0.5
execute if score @s StreamMinecart = #NeedTick0.5 temp run return run scoreboard players reset #NeedTick0.5 temp

#fail
scoreboard players reset #NeedTick0.5 temp
return fail